package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.Identify;
import com.jbp.utils.PageUtils;
import java.util.Map;

/**
 * 实名认证(Identify)表服务接口
 * @author cc
 * @since 2020-06-20 21:43:48
 */
public interface IdentifyService extends IService<Identify> {
    PageUtils queryPage(Map<String, Object> params);

    void saveIdNumber(Integer userId, Identify identify);

    boolean isIdentify(Integer userId);

    Identify getByUserId(Integer userId);

    String creatOrderNo(Identify identify);

    Map<String, Object> creatOrder(Identify identify, Integer userId);

    void succes(Integer userId);
}